// base url
// const BASE_URL = process.env.VUE_APP_BASE_URL;

const HTTP = "http";

/**
 * 本地地址
 */
const SERVER_HOST_LOCAL = "localhost";// eslint-disable-line no-unused-vars
const SERVER_PORT_LOCAL = "8080";// eslint-disable-line no-unused-vars

/**
 * 远端地址
 */
const SERVER_HOST = "1.15.234.131";// eslint-disable-line no-unused-vars
const SERVER_PORT = "8081";// eslint-disable-line no-unused-vars

/**
 * 当前http主机
 */
export const HTTP_SERVER = HTTP + "://" + SERVER_HOST_LOCAL + ":" + SERVER_PORT_LOCAL;
// export const HTTP_SERVER = HTTP + "://" + SERVER_HOST + ":" + SERVER_PORT;

/**
 * 登录验证失败时ResponseVO message中携带的命令
 * 前后端此命令字符串必须一致 "==="
 * 收到此命令后用户证明用户在后端验证失败 将被推回主页
 */
export const VERIFY_FAILED_COMMAND = "#VerifyFailed";

/**
 * 主动终止axios请求信号
 * @type {string}
 */
export const CANCEL_MESSAGE = "#Cancel";
